package bean;

import annotation.Column;
import annotation.Table;

@Table(tableName = "t_category")
public class Category {

	@Column(field = "category_id" , type = "varchar(100)" , primaryKey = true,defaultNull = false)
	private String categoryId; //主键
	
	@Column(field = "category_name" , type = "varchar(100)")
	private String categoryName; //标题

	public String getCategoryId() {
		return categoryId;
	}

	public void setCategoryId(String categoryId) {
		this.categoryId = categoryId;
	}

	public String getCategoryName() {
		return categoryName;
	}

	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}

	
	
	
}
